// Simple JIT test for timing verification
function hotLoop() {
    let sum = 0;
    for (let i = 0; i < 1000000; i++) {
        sum += i * Math.sqrt(i);
    }
    return sum;
}

function main() {
    return hotLoop();
}